<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/6/11
  Time: 17:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改用户</title>

    <style type="text/css">
        a {
            text-decoration: none
        }
    </style>
</head>
<body>

    <table border="1" width="100%" style="text-align: center;" >
        <caption> <h1> 修改用户: ${requestScope.user.u_name} </h1> </caption>
        <tr>
            <td> 用户名称 </td>
            <td> 用户密码 </td>
            <td> 用户邮箱 </td>
            <td> 用户电话 </td>
            <td> 用户状态 </td>
        </tr>
        <form action="user" method="post">
            <tr>
                <input type="text" name="act" value="editUser" hidden>
                <input type="text" name="id" value="${requestScope.user.u_id}" hidden>
                <td> <input type="text" name="username" value="${requestScope.user.u_name}"> </td>
                <td> <input type="text" name="password"value="${requestScope.user.u_password}"> </td>
                <td> <input type="email" name="email" value="${requestScope.user.u_email}"> </td>
                <td> <input type="text" name="phone" value="${requestScope.user.u_phone}"> </td>
                <td> <input type="text" name="status" value="${requestScope.user.u_status}"> </td>
            </tr>

            <tr>
                <td colspan="5"> <input type="submit" value="提交修改"> </td>
            </tr>
        </form>
    </table>
</body>
</html>
